home *** CD-ROM | disk | FTP | other *** search
- On Fri, 13 Jan 1995, Paul Reece wrote:
-
- > Hi Mike,
- >
- > >
- > >
- > > Okay my brain is starting to bleed because I can't make up my
- > > mind on a consistent interface for MARP so I thought I would ask what
- > > you blokes thought would be best....
- > >
- >
- >
- > Mind if I be dense and as, WHAT IS MARP??
- >
-
- MARP is a library of C functions that you can link your C programs
- to... why? So that you can use the power of C with what I think is the
- power of Amos (easy and powerful gfx/snd... basically you don't have to
- go through the RKM's... and figure out all the Amiga specifics)
-
- MARP will come with multiple libraries...
-
- 1. The 'in-development' library.. this will be slow
- but safe.. so if you screw up something you will
- get a Requester explaining the error and no GURU.
-
- 2. This will be the heh my code works library.. it will
- be faster than #1 because it won't do any error
- checking... so you could be making an appointment
- with the guru...
-
- 3. This will be the library with just about every command
- a macro for super speed at the expense of some code
- size because you will be 'inlining' a lot of stuff...
-
- MARP has Amigaguide help system much like that of SAS/C.. Oh ya if
- you didn't figure out already you will need a C compilier and understand
- C. But MARP has 2 layers:
-
- 1. ToolKit Commands
-
- o These are basically how Amos works now... Very easy..
- Bascially no pointers... example:
-
- M_Pixel x,y;
-
- M_LoadIconBank(0,"icons.abk");
-
- M_PasteIcon(0,10,x,y);
-
- 2. Developer Commands
-
- o These are mainly for developers that want to eXtend
- MARP by writing eXtensions... this give you access
- to the guts of MARP... example:
-
- M_Pixel x,y;
- M_IconBank ibank;
-
- Mx_LoadIconBank(&ibank,"myicons",0);
-
- Mx_PasteIcon(&ibank,10,x,y,M_BLIT_NORMAL);
-
- o Now if someone wanted to write an eXtension they
- could do it better because the programmers model
- of MARP would never have to change.. ie. they
- would never have to sacrifice a slot in a bank.
-
- o Also commands are provided to inteface between the
- two... so if the programmer wanted to explicity
- tell an extension to use a certain bank they could.
-
- These 2 layers would help people who aren't comfortable with using
- pointers convert from Amos->C easier if they wanted too... plus even
- if you pointers don't bug you it will just be easier and safer to use
- the toolkit routines most of the time... :)
-
-
- MARP Curently supports:
-
- o Screens (includes Double Buff/Public Screens)
- o General Gfx (ie. lines/boxes/circles/...)
- o Requesters ( font/screen/palette/file/custom)
- o Icons (much more complete than Amos)
- o Files (ie. Size/Exists/IsDir/... )
- o Input (mouse/joystick/analouge joy)
- o Copper (ie. Rainbow..)
- o Samples (not fully done)
- o Med Mods
- o Bobs (not fully done)
-
- I will release MARP once I add:
-
- o IFF Picture Support
- o IFF Anim Support
- o Color/Anim Font (ala Ctext)
- o Easy User Interrupts
- o Make up some Examples!
-
-
- Of course MARP will not be done with just this... but I feel that
- it would be useful once I add this stuff... but I plan to work on
- MARP till March'95. Then start using it!
-
- Oh ya... MARP is also being developed on the IBM right now!
-
- I hope this helps...
-
- mike
-
- > - P
- > Paul Reece, Technical Support - Trumpet Software International
- > p.reece@trumpet.com.au Phone: +61 02 450220
- > Fax: +61 02 450210
- >
- > For Tech-Support: tech-support@trumpet.com.au
- >
- >
-
-